Birmingham | 2026-MAR-SDC | Joy Opachavalit | Sprint 2 | Chat App frontend and backend#80
Birmingham | 2026-MAR-SDC | Joy Opachavalit | Sprint 2 | Chat App frontend and backend#80enjoy15 wants to merge 11 commits into
Conversation
…ading functionality - Implemented message sending and loading in app.js - Created index.html for the chat interface - Added styles in style.css for a better user experience - Included package.json for project metadata
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Why implement a custom server instead of using an existing server implementation? For example, http-server?
There was a problem hiding this comment.
Good point. I used a custom server to serve the frontend and runtime config, but I can switch to a simpler existing server if that’s preferred.
There was a problem hiding this comment.
No need to change. Just that using an existing server and preparing config.js as a file is probably easier.
Note: Currently the front-end server is setup to also serve server.js.
| <section class="panel"> | ||
| <div class="messages-header"> | ||
| <h2>Messages</h2> | ||
| <button id="refresh-button" type="button" class="secondary">Refresh</button> | ||
| </div> | ||
| <ul id="messages" class="messages"></ul> | ||
| </section> |
There was a problem hiding this comment.
Currently, when the number of messages becomes large, users must repeatedly scroll to the top of the page to access the input field and enter new messages.
Could you address this issue or suggest a solution to improve the user experience?
There was a problem hiding this comment.
Thanks for the suggestion. I updated the UI so the composer stays visible at the top and the message list is scrollable. I also render newest messages first so users see the latest activity immediately.
|
Thanks for your suggestion. PR updated. |
|
All good, well done. |

Learners, PR Template
Self checklist
Backend
https://enjoy15-chat-app.hosting.codeyourfuture.io
Frontend
https://enjoy15-chat-app-frontend.hosting.codeyourfuture.io
Additional features: